#include<iostream>
using namespace std;
int main()
{
	freopen("duel.in","r",stdin);
	freopen("duel.out","w",stdout);
	int n;
	cin>>n;
	int a;
	int b[100001];
	int last=0;
	bool f =true;
	for(int i=1;i<=100001;i++)b[i]=0;
	for(int i=1;i<=n;i++)
	{
		cin>>a;
		b[a]++;		
	}
	
	for(int i=1;i<=100001;i++)
	{
		
		if(b[i]>=1)
		{			
			if(last==0&&f==true){
				last=b[i];
				f=false;
			}
			else
			{
				if(last<=b[i]){
					last=b[i];
				}		
				
			}
		}	
	}
	cout<<last<<endl;
	return 0;
}


